﻿using System;

namespace gdlmo.DNN.Modules.Article.Business
{
	[Serializable]
	public class ArticleInfo
	{
		#region "Private Members"
		int _ArticleID;
		int _CategoryId;
		string _Title;
		DateTime _CreatedDate;
		string _CreatedByUser;
		string _CopyFrom;
		string _Author;
		int _Hits;
		bool _IsPassed;
		string _IP;
		string _DeptName;
		string _Summary;
		#endregion
		
		#region "Constructors"
		public ArticleInfo()
		{
		}

		public ArticleInfo(int ArticleID, int CategoryId , string Title , DateTime CreatedDate , string CreatedByUser , string CopyFrom , string Author , int Hits , bool IsPassed , string FileName , string IP , string DeptName , string Summary)
		{
			this.ArticleID = ArticleID;
			this.CategoryId = CategoryId;
			this.Title = Title;
			this.CreatedDate = CreatedDate;
			this.CreatedByUser = CreatedByUser;
			this.CopyFrom = CopyFrom;
			this.Author = Author;
			this.Hits = Hits;
			this.IsPassed = IsPassed;
			this.IP = IP;
			this.DeptName = DeptName;
			this.Summary = Summary;
		}
		#endregion
		
		#region "Public Properties"
		public int ArticleID
		{
			get{return _ArticleID;}
			set{_ArticleID = value;}
		}
		
		public int CategoryId
		{
			get{return _CategoryId;}
			set{_CategoryId = value;}
		}

		public string Title
		{
			get{return _Title;}
			set{_Title = value;}
		}

		public DateTime CreatedDate
		{
			get{return _CreatedDate;}
			set{_CreatedDate = value;}
		}

		public string CreatedByUser
		{
			get{return _CreatedByUser;}
			set{_CreatedByUser = value;}
		}

		public string CopyFrom
		{
			get{return _CopyFrom;}
			set{_CopyFrom = value;}
		}

		public string Author
		{
			get{return _Author;}
			set{_Author = value;}
		}

		public int Hits
		{
			get{return _Hits;}
			set{_Hits = value;}
		}

		public bool IsPassed
		{
			get{return _IsPassed;}
			set{_IsPassed = value;}
		}

		public string IP
		{
			get{return _IP;}
			set{_IP = value;}
		}

		public string DeptName
		{
			get{return _DeptName;}
			set{_DeptName = value;}
		}

		public string Summary
		{
			get{return _Summary;}
			set{_Summary = value;}
		}
		#endregion
	}
}